package com.ruoyi.system.domain.base;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物料清单对象 base_bom
 *
 * @author ruoyi
 * @date 2023-02-07
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("base_bom")
public class BaseBom implements Serializable {

private static final long serialVersionUID=1L;


        /** bom主键id */
        @TableId(value = "bom_id")
    private Long bomId;

        /** bom名称 */
        @Excel(name = "bom名称")
    private String bomName;

        /** bom编码 */
        @Excel(name = "bom编码")
    private String bomCode;

        /** bom状态 0失效1新建2生效 */
        @Excel(name = "bom状态 0失效1新建2生效")
    private Long bomStatus;

        /** bom版本 */
        @Excel(name = "bom版本")
    private String bomEdition;

    /** 创建者 */
    @ApiModelProperty(value = "创建者")
    private String createBy;

    /** 创建时间 */
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新者 */
    @ApiModelProperty(value = "更新者")
    private String updateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
